package com.example.myapplication.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class VideoDetail {


    /**
     * code : 200
     * data : {"vid":"89ADDE33C0AAE8EC14B99F6750DB954D","creator":{"authStatus":0,"followed":false,"accountStatus":0,"userId":124483968,"userType":204,"nickname":"夜明记","avatarUrl":"http://p1.music.126.net/inLYThUZClORNykwhyxzvQ==/109951165619358649.jpg","expertTags":null,"experts":{"1":"音乐视频达人"},"avatarDetail":{"userType":204,"identityLevel":1,"identityIconUrl":"https://p5.music.126.net/obj/wo3DlcOGw6DClTvDisK1/4761340149/f4bf/64a1/1ea2/31a08617d7dfddb21fffdb92390ce268.png"}},"coverUrl":"http://p1.music.126.net/RxBSKhZXMee5gn5Gg2p8TQ==/109951163573071019.jpg","title":"许嵩《燕归巢》乐器录制花絮","description":"许嵩《燕归巢》乐器录制花絮（吉他 马头琴 琵琶 古筝）","durationms":485018,"threadId":"R_VI_62_89ADDE33C0AAE8EC14B99F6750DB954D","playTime":879023,"praisedCount":8318,"commentCount":1142,"shareCount":1411,"subscribeCount":2929,"publishTime":1520643498000,"avatarUrl":"http://p1.music.126.net/inLYThUZClORNykwhyxzvQ==/109951165619358649.jpg","width":960,"height":540,"resolutions":[{"size":54157476,"resolution":240},{"size":77364876,"resolution":480}],"videoGroup":[{"id":4101,"name":"娱乐","alg":null},{"id":15180,"name":"许嵩","alg":null},{"id":13222,"name":"华语","alg":null}],"hasRelatedGameAd":false,"advertisement":false,"authType":0,"markTypes":[109],"videoUserLiveInfo":null}
     * message : success
     */

    private int code;
    private DataBean data;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        /**
         * vid : 89ADDE33C0AAE8EC14B99F6750DB954D
         * creator : {"authStatus":0,"followed":false,"accountStatus":0,"userId":124483968,"userType":204,"nickname":"夜明记","avatarUrl":"http://p1.music.126.net/inLYThUZClORNykwhyxzvQ==/109951165619358649.jpg","expertTags":null,"experts":{"1":"音乐视频达人"},"avatarDetail":{"userType":204,"identityLevel":1,"identityIconUrl":"https://p5.music.126.net/obj/wo3DlcOGw6DClTvDisK1/4761340149/f4bf/64a1/1ea2/31a08617d7dfddb21fffdb92390ce268.png"}}
         * coverUrl : http://p1.music.126.net/RxBSKhZXMee5gn5Gg2p8TQ==/109951163573071019.jpg
         * title : 许嵩《燕归巢》乐器录制花絮
         * description : 许嵩《燕归巢》乐器录制花絮（吉他 马头琴 琵琶 古筝）
         * durationms : 485018
         * threadId : R_VI_62_89ADDE33C0AAE8EC14B99F6750DB954D
         * playTime : 879023
         * praisedCount : 8318
         * commentCount : 1142
         * shareCount : 1411
         * subscribeCount : 2929
         * publishTime : 1520643498000
         * avatarUrl : http://p1.music.126.net/inLYThUZClORNykwhyxzvQ==/109951165619358649.jpg
         * width : 960
         * height : 540
         * resolutions : [{"size":54157476,"resolution":240},{"size":77364876,"resolution":480}]
         * videoGroup : [{"id":4101,"name":"娱乐","alg":null},{"id":15180,"name":"许嵩","alg":null},{"id":13222,"name":"华语","alg":null}]
         * hasRelatedGameAd : false
         * advertisement : false
         * authType : 0
         * markTypes : [109]
         * videoUserLiveInfo : null
         */

        private String vid;
        private CreatorBean creator;
        private String coverUrl;
        private String title;
        private String description;
        private int durationms;
        private String threadId;
        private int playTime;
        private int praisedCount;
        private int commentCount;
        private int shareCount;
        private int subscribeCount;
        private long publishTime;
        private String avatarUrl;
        private int width;
        private int height;
        private boolean hasRelatedGameAd;
        private boolean advertisement;
        private int authType;
        private Object videoUserLiveInfo;
        private List<ResolutionsBean> resolutions;
        private List<VideoGroupBean> videoGroup;
        private List<Integer> markTypes;

        public String getVid() {
            return vid;
        }

        public void setVid(String vid) {
            this.vid = vid;
        }

        public CreatorBean getCreator() {
            return creator;
        }

        public void setCreator(CreatorBean creator) {
            this.creator = creator;
        }

        public String getCoverUrl() {
            return coverUrl;
        }

        public void setCoverUrl(String coverUrl) {
            this.coverUrl = coverUrl;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public int getDurationms() {
            return durationms;
        }

        public void setDurationms(int durationms) {
            this.durationms = durationms;
        }

        public String getThreadId() {
            return threadId;
        }

        public void setThreadId(String threadId) {
            this.threadId = threadId;
        }

        public int getPlayTime() {
            return playTime;
        }

        public void setPlayTime(int playTime) {
            this.playTime = playTime;
        }

        public int getPraisedCount() {
            return praisedCount;
        }

        public void setPraisedCount(int praisedCount) {
            this.praisedCount = praisedCount;
        }

        public int getCommentCount() {
            return commentCount;
        }

        public void setCommentCount(int commentCount) {
            this.commentCount = commentCount;
        }

        public int getShareCount() {
            return shareCount;
        }

        public void setShareCount(int shareCount) {
            this.shareCount = shareCount;
        }

        public int getSubscribeCount() {
            return subscribeCount;
        }

        public void setSubscribeCount(int subscribeCount) {
            this.subscribeCount = subscribeCount;
        }

        public long getPublishTime() {
            return publishTime;
        }

        public void setPublishTime(long publishTime) {
            this.publishTime = publishTime;
        }

        public String getAvatarUrl() {
            return avatarUrl;
        }

        public void setAvatarUrl(String avatarUrl) {
            this.avatarUrl = avatarUrl;
        }

        public int getWidth() {
            return width;
        }

        public void setWidth(int width) {
            this.width = width;
        }

        public int getHeight() {
            return height;
        }

        public void setHeight(int height) {
            this.height = height;
        }

        public boolean isHasRelatedGameAd() {
            return hasRelatedGameAd;
        }

        public void setHasRelatedGameAd(boolean hasRelatedGameAd) {
            this.hasRelatedGameAd = hasRelatedGameAd;
        }

        public boolean isAdvertisement() {
            return advertisement;
        }

        public void setAdvertisement(boolean advertisement) {
            this.advertisement = advertisement;
        }

        public int getAuthType() {
            return authType;
        }

        public void setAuthType(int authType) {
            this.authType = authType;
        }

        public Object getVideoUserLiveInfo() {
            return videoUserLiveInfo;
        }

        public void setVideoUserLiveInfo(Object videoUserLiveInfo) {
            this.videoUserLiveInfo = videoUserLiveInfo;
        }

        public List<ResolutionsBean> getResolutions() {
            return resolutions;
        }

        public void setResolutions(List<ResolutionsBean> resolutions) {
            this.resolutions = resolutions;
        }

        public List<VideoGroupBean> getVideoGroup() {
            return videoGroup;
        }

        public void setVideoGroup(List<VideoGroupBean> videoGroup) {
            this.videoGroup = videoGroup;
        }

        public List<Integer> getMarkTypes() {
            return markTypes;
        }

        public void setMarkTypes(List<Integer> markTypes) {
            this.markTypes = markTypes;
        }

        public static class CreatorBean {
            /**
             * authStatus : 0
             * followed : false
             * accountStatus : 0
             * userId : 124483968
             * userType : 204
             * nickname : 夜明记
             * avatarUrl : http://p1.music.126.net/inLYThUZClORNykwhyxzvQ==/109951165619358649.jpg
             * expertTags : null
             * experts : {"1":"音乐视频达人"}
             * avatarDetail : {"userType":204,"identityLevel":1,"identityIconUrl":"https://p5.music.126.net/obj/wo3DlcOGw6DClTvDisK1/4761340149/f4bf/64a1/1ea2/31a08617d7dfddb21fffdb92390ce268.png"}
             */

            private int authStatus;
            private boolean followed;
            private int accountStatus;
            private int userId;
            private int userType;
            private String nickname;
            private String avatarUrl;
            private Object expertTags;
            private ExpertsBean experts;
            private AvatarDetailBean avatarDetail;

            public int getAuthStatus() {
                return authStatus;
            }

            public void setAuthStatus(int authStatus) {
                this.authStatus = authStatus;
            }

            public boolean isFollowed() {
                return followed;
            }

            public void setFollowed(boolean followed) {
                this.followed = followed;
            }

            public int getAccountStatus() {
                return accountStatus;
            }

            public void setAccountStatus(int accountStatus) {
                this.accountStatus = accountStatus;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public int getUserType() {
                return userType;
            }

            public void setUserType(int userType) {
                this.userType = userType;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getAvatarUrl() {
                return avatarUrl;
            }

            public void setAvatarUrl(String avatarUrl) {
                this.avatarUrl = avatarUrl;
            }

            public Object getExpertTags() {
                return expertTags;
            }

            public void setExpertTags(Object expertTags) {
                this.expertTags = expertTags;
            }

            public ExpertsBean getExperts() {
                return experts;
            }

            public void setExperts(ExpertsBean experts) {
                this.experts = experts;
            }

            public AvatarDetailBean getAvatarDetail() {
                return avatarDetail;
            }

            public void setAvatarDetail(AvatarDetailBean avatarDetail) {
                this.avatarDetail = avatarDetail;
            }

            public static class ExpertsBean {
                /**
                 * 1 : 音乐视频达人
                 */

                @SerializedName("1")
                private String _$1;

                public String get_$1() {
                    return _$1;
                }

                public void set_$1(String _$1) {
                    this._$1 = _$1;
                }
            }

            public static class AvatarDetailBean {
                /**
                 * userType : 204
                 * identityLevel : 1
                 * identityIconUrl : https://p5.music.126.net/obj/wo3DlcOGw6DClTvDisK1/4761340149/f4bf/64a1/1ea2/31a08617d7dfddb21fffdb92390ce268.png
                 */

                private int userType;
                private int identityLevel;
                private String identityIconUrl;

                public int getUserType() {
                    return userType;
                }

                public void setUserType(int userType) {
                    this.userType = userType;
                }

                public int getIdentityLevel() {
                    return identityLevel;
                }

                public void setIdentityLevel(int identityLevel) {
                    this.identityLevel = identityLevel;
                }

                public String getIdentityIconUrl() {
                    return identityIconUrl;
                }

                public void setIdentityIconUrl(String identityIconUrl) {
                    this.identityIconUrl = identityIconUrl;
                }
            }
        }

        public static class ResolutionsBean {
            /**
             * size : 54157476
             * resolution : 240
             */

            private int size;
            private int resolution;

            public int getSize() {
                return size;
            }

            public void setSize(int size) {
                this.size = size;
            }

            public int getResolution() {
                return resolution;
            }

            public void setResolution(int resolution) {
                this.resolution = resolution;
            }
        }

        public static class VideoGroupBean {
            /**
             * id : 4101
             * name : 娱乐
             * alg : null
             */

            private int id;
            private String name;
            private Object alg;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public Object getAlg() {
                return alg;
            }

            public void setAlg(Object alg) {
                this.alg = alg;
            }
        }
    }
}
